package cn.anxingongyou.anxin.service;

import cn.anxingongyou.anxin.entity.Banner;
import com.github.pagehelper.PageInfo;

public interface BannerService {
    int insert(Banner banner);
    int deleteByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(Banner banner);
    Banner  selectOne(Banner banner);
    Banner  selectOneByPrimaryKey(Long id);
    PageInfo<Banner> page(int pageNum, int pageSize , Banner banner);
}
